package day6;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class BuffWriterTest {
    public static void main(String[] args) {
        try {
            BufferedWriter bw=new BufferedWriter(new FileWriter("E:/temp/java75/3.txt",true));
            bw.write("你好，我是渣渣灰");
            bw.newLine();
            bw.write("大家好才是真的好");
            bw.newLine();
            bw.write("We change lives");
            bw.newLine();
            bw.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
